package mumu.gui.baseListeners;

import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.events.SelectionEvent;

public class ExitSelected extends SelectionAdapter {
	private Shell shell;
	
	public ExitSelected(){
		super();
	}
	
	public ExitSelected(Shell shell){
		this.shell = shell;
	}
	
	public void widgetSelected(SelectionEvent event){
		shell.dispose();
	}

}
